package com.chenrain.txtreader;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.chenrain.txtreader.utils.TxtUtil;

public class MainActivity extends Activity {
	private TextView display_tv;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		display_tv = (TextView) findViewById(R.id.dispaly_tv);
		String content = TxtUtil.ReadFromTxt(this, "2.txt");
		display_tv.setText(content);
	}
}
